package com.happycolor.qeuip.model;




public class Clskeyeventinfo  {
	private static final long serialVersionUID = 1L;

/*[CONSTRUCTOR MARKER BEGIN]*/
	public Clskeyeventinfo () {
		super();
	}

	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.Integer id;

	// fields
	private java.lang.Integer courseid;
	private java.lang.Integer clsid;
	private java.lang.Integer termid;
	private java.lang.Integer sid;
	private java.lang.Integer teaid;
	private java.lang.Integer stuid;
	private java.util.Date eitime;
	private java.lang.String eventinfo;
	private java.lang.String evaluation;
	private java.lang.Integer lmuser;
	private java.util.Date lmtime;
	private java.lang.Integer dstatus;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="sequence"
     *  column="ID"
     */
	public java.lang.Integer getId () {
		return id;
	}

	/**
	 * Set the unique identifier of this class
	 * @param id the new ID
	 */
	public void setId (java.lang.Integer id) {
		this.id = id;
		this.hashCode = Integer.MIN_VALUE;
	}




	/**
	 * Return the value associated with the column: COURSEID
	 */
	public java.lang.Integer getCourseid () {
		return courseid;
	}

	/**
	 * Set the value related to the column: COURSEID
	 * @param courseid the COURSEID value
	 */
	public void setCourseid (java.lang.Integer courseid) {
		this.courseid = courseid;
	}



	/**
	 * Return the value associated with the column: CLSID
	 */
	public java.lang.Integer getClsid () {
		return clsid;
	}

	/**
	 * Set the value related to the column: CLSID
	 * @param clsid the CLSID value
	 */
	public void setClsid (java.lang.Integer clsid) {
		this.clsid = clsid;
	}



	/**
	 * Return the value associated with the column: TERMID
	 */
	public java.lang.Integer getTermid () {
		return termid;
	}

	/**
	 * Set the value related to the column: TERMID
	 * @param termid the TERMID value
	 */
	public void setTermid (java.lang.Integer termid) {
		this.termid = termid;
	}



	/**
	 * Return the value associated with the column: SID
	 */
	public java.lang.Integer getSid () {
		return sid;
	}

	/**
	 * Set the value related to the column: SID
	 * @param sid the SID value
	 */
	public void setSid (java.lang.Integer sid) {
		this.sid = sid;
	}



	/**
	 * Return the value associated with the column: TEAID
	 */
	public java.lang.Integer getTeaid () {
		return teaid;
	}

	/**
	 * Set the value related to the column: TEAID
	 * @param teaid the TEAID value
	 */
	public void setTeaid (java.lang.Integer teaid) {
		this.teaid = teaid;
	}



	/**
	 * Return the value associated with the column: STUID
	 */
	public java.lang.Integer getStuid () {
		return stuid;
	}

	/**
	 * Set the value related to the column: STUID
	 * @param stuid the STUID value
	 */
	public void setStuid (java.lang.Integer stuid) {
		this.stuid = stuid;
	}



	/**
	 * Return the value associated with the column: EITIME
	 */
	public java.util.Date getEitime () {
		return eitime;
	}

	/**
	 * Set the value related to the column: EITIME
	 * @param eitime the EITIME value
	 */
	public void setEitime (java.util.Date eitime) {
		this.eitime = eitime;
	}



	/**
	 * Return the value associated with the column: EVENTINFO
	 */
	public java.lang.String getEventinfo () {
		return eventinfo;
	}

	/**
	 * Set the value related to the column: EVENTINFO
	 * @param eventinfo the EVENTINFO value
	 */
	public void setEventinfo (java.lang.String eventinfo) {
		this.eventinfo = eventinfo;
	}



	/**
	 * Return the value associated with the column: EVALUATION
	 */
	public java.lang.String getEvaluation () {
		return evaluation;
	}

	/**
	 * Set the value related to the column: EVALUATION
	 * @param evaluation the EVALUATION value
	 */
	public void setEvaluation (java.lang.String evaluation) {
		this.evaluation = evaluation;
	}



	/**
	 * Return the value associated with the column: LMUSER
	 */
	public java.lang.Integer getLmuser () {
		return lmuser;
	}

	/**
	 * Set the value related to the column: LMUSER
	 * @param lmuser the LMUSER value
	 */
	public void setLmuser (java.lang.Integer lmuser) {
		this.lmuser = lmuser;
	}



	/**
	 * Return the value associated with the column: LMTIME
	 */
	public java.util.Date getLmtime () {
		return lmtime;
	}

	/**
	 * Set the value related to the column: LMTIME
	 * @param lmtime the LMTIME value
	 */
	public void setLmtime (java.util.Date lmtime) {
		this.lmtime = lmtime;
	}



	/**
	 * Return the value associated with the column: DSTATUS
	 */
	public java.lang.Integer getDstatus () {
		return dstatus;
	}

	/**
	 * Set the value related to the column: DSTATUS
	 * @param dstatus the DSTATUS value
	 */
	public void setDstatus (java.lang.Integer dstatus) {
		this.dstatus = dstatus;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.happycolor.qeuip.model.Clskeyeventinfo)) return false;
		else {
			com.happycolor.qeuip.model.Clskeyeventinfo clskeyeventinfo = (com.happycolor.qeuip.model.Clskeyeventinfo) obj;
			if (null == this.getId() || null == clskeyeventinfo.getId()) return false;
			else return (this.getId().equals(clskeyeventinfo.getId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}